home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!hpl3sn03.cern.ch
- From: Dan Pop <danpop@mail.cern.ch>
- Newsgroups: comp.unix.shell,comp.lang.c
- Subject: Re: slowing it down
- Date: Sat, 27 Jan 1996 01:12:11 +0100
- Organization: CERN European Lab for Particle Physics
- Message-ID: <9601270012.AA09395@dxmint.cern.ch>
- References: <4ebh99$5q9@monmouth.edu>
- X-NNTP-Posting-Host: hpl3sn03.cern.ch
- X-Newsreader: NN version 6.5.0 #7 (NOV)
- X-Mail2News-Path: dxmint.cern.ch!hpl3sn03.cern.ch
-
- s0213031@moncol.monmouth.edu (RAJIV RODRIGUES) writes:
-
- >I ran a simple 'cat' on a DEC ALPHA (Digital Unix) to display a long (!) file.
- >I'm looking for some way to slow down ( not a pager ) the listing, so that
- >it scrolls at a comfortable speed. I tried a 'nice' at lowest priority with
- >no discernable effect.
- >
- >Anyone know any other utilities I could use?
-
- The right tool for this job is a serial terminal. You can control the
- scrolling speed by playing with the baud rate :-) Or by enabling smooth
- scroll (if available).
-
- Another solution is to write your own 'cat', which waits a certain amount
- of time before displaying a new line. The usleep function (nonstandard,
- but available on your platform) is all you need for the job.
-
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-